import React, { Component } from 'react';

// 引入子组件
import Myclschild from './Myclschild';

class Mycls extends Component {
    state = {
        name: '李易峰'
    }
    render() {
        const { name } = this.state
        return (
            <div>
                <Myclschild username={name}></Myclschild>
            </div>
        );
    }
}

export default Mycls;
